// 点击第一个上面的全选按钮
var selectAllCheckboxELe = document.querySelector(".order-head ul li a").firstElementChild;
selectAllCheckboxELe.onclick = function (){
    selectAll(this);
}
//全选、全不选的实现
function selectAll(ele){
    var isSelectAll = ele.checked;
    console.log("全选按钮的状态：" + isSelectAll);

    var proCheckboxArr = document.querySelectorAll(".retail1-img input");
    for(var i =0;i<proCheckboxArr.length;i++){
        proCheckboxArr[i].checked = isSelectAll;
    }

}